package com.library.service;

import com.library.pojo.Lend;
import com.library.pojo.PageResult;

import java.time.LocalDate;
import java.time.LocalDateTime;

public interface LendService {
    PageResult pageQuery(Integer page, Integer pageSize, String bookName,
                         LocalDate begin, LocalDate end, Integer status);

    void lend(Lend lend);

    PageResult userPageQuery(Integer page, Integer pageSize, String bookName,
                             LocalDate begin, LocalDate end);

    void isStatus(Integer status, Long id);
}
